spsc preparation